using System.Collections.Generic;

namespace Verse.AI.Group;

public static class TriggerFilterExtension
{
	public static Trigger WithFilter(this Trigger t, TriggerFilter f)
	{
		if (t.filters == null)
		{
			t.filters = new List<TriggerFilter>();
		}
		t.filters.Add(f);
		return t;
	}
}
